Skip to content

Updated lists api#337

Merged
iLLiCiTiT merged 9 commits into
developfrom
enhancement/update-lists-api
Jun 12, 2026
Merged

Updated lists api#337
iLLiCiTiT merged 9 commits into
developfrom
enhancement/update-lists-api

Conversation

@iLLiCiTiT

Copy link
Copy Markdown
Member

Changelog Description

Updated lists api with changes on server.

Additional review information

Added missing arguments to functions and entity list folders api.

Testing notes:

1.Validate code.
2. Try out the new functions.

@iLLiCiTiT iLLiCiTiT added the type: enhancement New feature or request label Jun 11, 2026
@iLLiCiTiT iLLiCiTiT self-assigned this Jun 11, 2026

@BigRoy BigRoy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes LGTM, but didn't test it, sorry.

Comment thread ayon_api/_api_helpers/lists.py Outdated
Comment thread ayon_api/_api_helpers/lists.py Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Python client “lists” API to match recent server-side changes by adding support for entity list folders, exposing new list-related endpoints, and improving robustness of the API generation script.

Changes:

  • Add entity_list_folder_id support when creating/updating entity lists.
  • Add REST wrappers for list entities and entity list folders (CRUD + ordering).
  • Improve error reporting when processing type hints in automated_api.py.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 14 comments.

File Description
ayon_api/_api.py Exposes new public API functions for list entities and entity list folders; adds entity_list_folder_id support.
ayon_api/_api_helpers/lists.py Implements the underlying REST calls for entity list entities and entity list folders; updates list create/update payload handling.
ayon_api/__init__.py Re-exports the newly added public API functions.
automated_api.py Adds a defensive except Exception branch to surface unexpected typehint-processing failures.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ayon_api/_api.py Outdated
Comment thread ayon_api/_api.py Outdated
Comment thread ayon_api/_api.py
Comment thread ayon_api/_api.py Outdated
Comment thread ayon_api/_api.py Outdated
Comment thread ayon_api/_api_helpers/lists.py
Comment thread ayon_api/_api_helpers/lists.py Outdated
Comment thread ayon_api/_api_helpers/lists.py Outdated
Comment thread ayon_api/_api_helpers/lists.py Outdated
Comment thread ayon_api/_api_helpers/lists.py Outdated
@iLLiCiTiT iLLiCiTiT merged commit 2e616b6 into develop Jun 12, 2026
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/update-lists-api branch June 12, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants